﻿using System.Xml;
using System.Collections.Generic;

namespace gms.data {
	// The Ajax Opcode system can load either a procedure, or a class.
	// If the situation is the latter, said class must inherit from the
	// IOpcode interface, because it uses reflection to load the class
	// instance, and it can call either of these methods depending on
	// how many arguments were provided
	public interface IOpcode {
		XmlElement ExecuteCode();
		XmlElement ExecuteCode(List<OpcodeArgument> args);
	}
}